package net.ericaro.neojavagen.blocks ;
import net.ericaro.neojavagen.expressions.Expression ;

/**
* *<pre> AssertWithMessage :
    assert Expression : Expression ;
</pre>
*/
public class AssertWithMessage   {

Expression expression1;
Expression expression2 ;

public AssertWithMessage( Expression expression1, Expression expression2 ){
	this.expression1 = expression1; this.expression2 = expression2 ;
	}


public String toString(){
	StringBuilder stringbuilder = new StringBuilder();
	stringbuilder.append( "assert" ).append(" ");
stringbuilder.append( this.expression1 ).append(" ");
stringbuilder.append( ":" ).append(" ");
stringbuilder.append( this.expression2 ).append(" ");
stringbuilder.append( ";\n" ).append(" ") ;
	return stringbuilder.toString();
}

}
